How to save information in a nested dictionary using forloops

visit shbcf.ru